<%@ Page Title="" Language="C#" MasterPageFile="~/Themes/Default/Site.Master" Inherits="System.Web.Mvc.ViewPage"%>
<%@ Import Namespace="MvcContrib.UI.Html" %>
<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Login the System
</asp:Content>


<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <form id="form1" action="/User/Login" method="post">
    <%=Html.Hidden("returnUrl",ViewData["returnUrl"]) %>
    <table class="mainContent" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td>
                <table class="loginbox" cellpadding="0" cellspacing="0" align="center">
                    <tr>
                        <td class="ui-widget-header  ui-corner-top large">
                            <%=Html.Resource("Home","DragonSystemTitle") %>
                        </td>
                    </tr>
                    <tr>
                        <td class="ui-tabs-panel ui-widget-content">
                            <table cellpadding="0" cellspacing="0" border="0" align="center">
                                <tr style="height:15px">
                                <td colspan="2"></td>
                                </tr>
                                <tr>
                                    <td class="dataLabel">
                                        <label for="userName">
                                            <%=Html.Resource("Home","USERNAME") %></label>
                                    </td>
                                    <td>
                                        <input id="userName" name="userName" type="text" class="logininput" />
                                    </td>
                                </tr>
                                <tr>
                                    <td class="dataLabel">
                                        <label for="pwd">
                                            <%=Html.Resource("Home","PASSWORD") %></label>
                                    </td>
                                    <td>
                                        <input id="pwd" name="pwd" type="password"  class="logininput" />
                                    </td>
                                </tr>
                                <tr style="height:15px;">
                                    <td colspan="2"></td>
                                </tr>
                                <tr>
                                    <td colspan="2" style="text-align:center">
                                    <input type="submit" value="<%=Html.Resource("Home","Login") %>" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                    <% if(ViewData["ErrorMessage"]!=null){ %>
                    <tr>
                    <td>
                       <%=Html.RenderjQueryErrorDiv((string)ViewData["ErrorMessage"],null)%>
                    </td>
                    </tr>
                    <%} %>
                </table>
            </td>
        </tr>
    </table>
    </form>
</asp:Content>
